//
//  AllOrderListVC.m
//  ImGuider
//
//  Created by 王鹏宇 on 2017/12/25.
//  Copyright © 2017年 imguider. All rights reserved.
//

#import "AllOrderListVC.h"
#import "AccountOrderListVC.h"

@interface AllOrderListVC ()

@end

@implementation AllOrderListVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = MYLocalizedString(@"ACCOUNT_ORDER", nil);
    if(self.isLookTickerOrder){
        self.hidesBottomBarWhenPushed = YES;
    }
    
    AccountOrderListVC *lineOrderVC = [IGUtil loadViewController:@"AccountOrderListVC" storyboard:@"Account"];
    lineOrderVC.superVC = self;
    
    [self setupWithNavTitles:@[MYLocalizedString(@"HOME_RECORD", nil),MYLocalizedString(@"TICKET_TITLE", nil)] PageVcClass:@[lineOrderVC,[NSClassFromString(@"TicketOrderListVC") new]]];
    
    if (self.isLookTickerOrder) {
        [self setCurrentVCWithNum:1];
    }
}

@end
